\section{Gauge.mui}

A gauge object is a nice looking display element useful
for some kind of progress display.

\subsection[MUIA\_Gauge\_Current]{MUIA\_Gauge\_Current -- (V4) [ISG], LONG}

\subsubsection*{FUNCTION}
Set the current level of the gauge. The value must be
between 0 and MUIA\_Gauge\_Max.

\subsubsection*{SEE ALSO}
MUIA\_Gauge\_Max

\subsection[MUIA\_Gauge\_Divide]{MUIA\_Gauge\_Divide -- (V4) [ISG], BOOL}

\subsubsection*{FUNCTION}
If this attribute is != 0, every value set with
MUIA\_Gauge\_Current will be divided by this before
further processing.

\subsubsection*{EXAMPLE}
\small
\begin{verbatim}
See BoopsiDoor demo program.

\end{verbatim}
\normalsize
\subsubsection*{SEE ALSO}
MUIA\_Gauge\_Current

\subsection[MUIA\_Gauge\_Horiz]{MUIA\_Gauge\_Horiz -- (V4) [I..], BOOL}

\subsubsection*{FUNCTION}
Determine if you want a horizontal or vertical gauge.
Default to FALSE

\subsubsection*{SEE ALSO}
MUIA\_Gauge\_Current

\subsection[MUIA\_Gauge\_InfoText]{MUIA\_Gauge\_InfoText -- (V7) [ISG], char $\ast$}

\subsubsection*{FUNCTION}
The text given here is displayed within a gauge object
and is usually intended to show some kind of percentage
information.

This texts preparse is set to ''$\backslash$33c$\backslash$0338'', this makes
it appear centered and highlighted by default.

Any \%ld will be replaced with the current value of
MUIA\_Gauge\_Current.

\subsubsection*{NOTE}
Currently, InfoText works only for horizontal
gauges and gives them a fixed height.

\subsubsection*{VERSION}
Implemented in version 7 of gauge class (MUI 1.5).

\subsubsection*{EXAMPLE}
\small
\begin{verbatim}
...
MUIA_Gauge_InfoText, "%ld %%",
...

\end{verbatim}
\normalsize
\subsubsection*{SEE ALSO}
MUIA\_Gauge\_Current

\subsection[MUIA\_Gauge\_Max]{MUIA\_Gauge\_Max -- (V4) [ISG], LONG}

\subsubsection*{FUNCTION}
Set the maximum value for the gauge.
Defaults to 100.

\subsubsection*{SEE ALSO}
MUIA\_Gauge\_Current


